package com.totem.product.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_product_detail")
public class TProductDetail extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="product_id", type= IdType.INPUT)
    private Long productId;
    @TableField(value="recommend")
    private String recommend;
    @TableField(value="auto_delivery")
    private String autoDelivery;
    @TableField(value="restrict_min")
    private Integer restrictMin;
    @TableField(value="restrict_type")
    private String restrictType;
    @TableField(value="restrict_max")
    private Integer restrictMax;
    @TableField(value="info")
    private String info;
}
